package com.haiyou.swagger.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * swagger配置
 */

@ConfigurationProperties(prefix = SwaggerProperties.PREFIX)
@Data
public class SwaggerProperties {
    /**
     * 服务配置前缀名
     */
    public static final String PREFIX = "swagger";

    /**
     * 是否可用
     */
    private boolean enable;
    private String title;
    private String description;
    private String webBasePackage;
    private String author;
    private String url;
    private String email;
    private boolean redirect = false;
    private String defaultValue;
    private boolean showToken = true;
    private String version = "0.0.1";

}
